<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<form action="servletquery" method="post">
	<table align="center" >
		<caption>
			<h2>欢迎进入查询页面</h2>
		</caption>
		<tr>
			<td>请输入字段</td>
			<td>
				<input type="text" name="ziduan">
			</td>
			<td colspan="2">
				<h6>例如：sex</h6>
			</td>
		</tr>
		<tr>
			<td>请输入名称</td>
			<td>
				<input type="text" name="name">
			</td>
			<td colspan="2">
				<h6>例如：男</h6>
			</td>
		</tr>
		<tr>
			<td colspan="2" align="center">
				<input type="submit" value="查询">
				<input type="button" value="主页面" onclick="location.href='main.jsp'">
			</td>
		</tr>
	</table>
</form>
	<h3 align="right" style="color: green;">ziduan:id/name/sex/city</h3>
</body>
</html>